package com.shuchang.easyexcel;

import com.alibaba.excel.context.AnalysisContext;
import com.alibaba.excel.event.AnalysisEventListener;

import java.util.Map;

public class IpListExcelListener extends AnalysisEventListener<IPListTemplate> {

    @Override
    public void invoke(IPListTemplate ipListTemplate, AnalysisContext analysisContext) {
        System.out.println(ipListTemplate);
    }

    public void invokeHeadMap(Map<Integer, String> headMap, AnalysisContext context) {
        System.out.println("表头信息：" + headMap);
    }

    @Override
    public void doAfterAllAnalysed(AnalysisContext analysisContext) {
    }
}
